package com.clever.mall.commons.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductRequestParam {
    private Integer productId;
    private String name;
    private BigDecimal originalPrice;
    private BigDecimal promotionPrice;
    private Integer firstCategoryId;
    private Integer secondCategoryId;
    private Integer brandId;
    private String imgUrl;
    private String brief;
    private Integer percentage;
    private Integer size;
    private Date createTime;
    private Integer actId;

    public ProductRequestParam(String name){
        this.name=name;
    }

}
